project(rtmdet_onnxruntime)

#windows系统动态库生成lib文件命令
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)

# 生成动态库
add_library(${PROJECT_NAME} SHARED rtmdet_onnxruntime.cpp)

# 连接头文件
target_include_directories(${PROJECT_NAME} PUBLIC ${RTMPoseUtils_Dir})
target_include_directories(${PROJECT_NAME} PUBLIC ${OnnxruntimeCpu_Dir})


# 连接动态库
target_link_libraries(${PROJECT_NAME} PUBLIC rtmpose_utils onnxruntime_cpu)
